package de.mfits.fireflyplayer;

import static de.mfits.fireflyplayer.storage.DbHelper.GENRE;
import android.os.Bundle;

public class BrowseGenreSongsActivity extends BrowseSongsActivity {
  private static final String SELECTION = GENRE + "=?";

  public BrowseGenreSongsActivity() {
    super(SELECTION);
  }

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String genre = getIntent().getStringExtra(GENRE);
    setTitle(genre);
    setSelectionArgs(new String[] { genre });
  }

}
